#!/bin/bash

$Id: wifion.sh 9 2010-02-23 01:20:38Z simonbaev $

ifconfig wlan0 down
dhclient -r wlan0
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
ifconfig wlan0 up
dhclient wlan0

